Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential concurrent call when backoff #172

Merged
merged 1 commit into from
May 27, 2021

Conversation

birdstorm
Copy link
Collaborator

Signed-off-by: birdstorm samuelwyf@hotmail.com

What problem does this PR solve?

backoff may be called concurrently.

What is changed and how it works?

force clone before backoffer is passed to batch requests

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Related changes

  • Need to cherry-pick to the release branch

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
@birdstorm birdstorm merged commit 30e1e87 into tikv:master May 27, 2021
@birdstorm birdstorm deleted the fix-concurrent-backoffer branch May 27, 2021 08:06
@birdstorm
Copy link
Collaborator Author

/run-cherry-picker

ti-srebot pushed a commit to ti-srebot/client-java that referenced this pull request May 27, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator

cherry pick to release-3.1 in PR #175

birdstorm added a commit that referenced this pull request Jun 4, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

Co-authored-by: birdstorm <samuelwyf@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants